package com.rongke.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.rongke.mapper.FlowDetailMapper;
import com.rongke.model.FlowDetail;
import com.rongke.service.FlowDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @FlowDetailServiceImpl
 * @交易流水明细ServiceImpl
 * @version : Ver 1.0
 */
@Service
public class FlowDetailServiceImpl extends ServiceImpl<FlowDetailMapper, FlowDetail> implements FlowDetailService {
    @Autowired
    private FlowDetailMapper flowDetailMapper;
    /**
     * 查询转账列表
     * @param map
     * @return
     */
    @Override
    public List<Map> selectTransferList(Map map) {
        return flowDetailMapper.selectTransferList(map);
    }

    @Override
    public Integer selectTransferListSize(Map map) {
        return flowDetailMapper.selectTransferListSize(map);
    }

    @Override
    public List<Map> selectTransferListByUserId(Map map) {
        return flowDetailMapper.selectTransferListByUserId(map);
    }

    @Override
    public Integer selectTransferListByUserIdSize(Map map) {
        return flowDetailMapper.selectTransferListByUserIdSize(map);
    }

}
